package com.fwj.authorization.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fwj.authorization.staff.entity.SysRoleButton;
import org.apache.ibatis.annotations.Param;

/**
 * SysRoleButtonMapper
 *
 * @author 樊温军
 * @date 2025/3/22 下午4:53
 */
public interface SysRoleButtonMapper extends BaseMapper<SysRoleButton> {

    /**
     * 按钮角色权限—分页
     *
     * @param page          分页对象
     * @param sysRoleButton 查询条件
     * @return IPage < SysRoleButton>
     */
    IPage<SysRoleButton> getPage(Page<SysRoleButton> page, @Param("map") SysRoleButton sysRoleButton);
}
